<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>主页面</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">

		<style type="text/css">

		body {
			margin: 0 auto;
			padding: 0;
		}

		</style>
		<style>
		.navPoint {
			color: white;
			cursor: hand;
			font: 12px "宋体";
		}
		</style>
		<script>
			function switchSysBar() {
				var locate = location.href.replace('middleT.jsp', '');
				var ssrc = document.all("img1").src.replace(locate, '');
				if (ssrc == "images/list_button.gif") {
					document.all("img1").src = "images/list_button_r.gif";
					document.all("frmTitle").style.display = "none"
				} else {
					document.all("img1").src = "images/list_button.gif";
					document.all("frmTitle").style.display = ""
				}
			}
		</script>
  </head>
  
  <body style="overflow: hidden">
		<table width="100%" height="100%" border="0" cellpadding="0"
			cellspacing="0" style="table-layout: fixed;">
			<tr>
				<td width="178" id=frmTitle  name="fmTitle" align="center"
					valign="top">
					<!-- 此处链入 left 页面 -->
					<iframe id="leftFrame" name="I1" height="100%" width="178" src="<%= (String)session.getAttribute("leftPage") %>"
						border="0" frameborder="0" scrolling="no">
						浏览器不支持嵌入式框架，或被配置为不显示嵌入式框架。
					</iframe>
				</td>
				<td width="5" style="width: 5px;" valign="middle" bgcolor="004C7E"
					onclick=switchSysBar()>
					<span class=navPoint id=switchPoint title="打开/关闭左栏"><img
							src="images/list_button.gif" style="cursor: pointer;" name="img1" width=6 height=40
							id=img1>
					</span>
				</td>
				<td width="5"></td>
				<td align="center" valign="top">
					<iframe name="I2" height="100%" width="100%" frameborder="0"
						src="welcomePage.action">
						浏览器不支持嵌入式框架，或被配置为不显示嵌入式框架。
					</iframe>
				</td>
			</tr>
		</table>
	</body>
</html>
